@(items: List[CartItem])

@if(items.size() == 0){
	No items
}else{
	@helper.form(routes.CartControl.order){
		<table class="computers zebra-striped">
		<thead>
			<tr>
				<th>
					Name
				</th>
				<th>
					Quantity
				</th>
				<th>
					Operation
				</th>
			</tr>
		</thead>
		@for(item <- items){
			<tr>
				<td>
					@item.product.title
				</td>
				<td>
					@item.quantity
				</td>
				<td>
					<a href = "@routes.CartControl.removeFromCart(item.id)"> Delete </a>
				</td>
			</tr>
		}
		</table>
		<button type = "submit">Submit</button>
	}
}